<!-- 损失物品-货币有价证卷(马海天) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox">
	<ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	<ui:param name="pageViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="货币有价证卷" />
	<ui:param name="compToggleable" value="true" />
	<ui:define name="compHiddens">
	 	
	</ui:define>
	
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="casesn" />
				<ui:param name="compBean1Lable" value="案件编号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="casesn" value="#{pageViewBean.fields.casesn}" readonly="true" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第二行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="securitiestype"/>
				<ui:param name="compBean1Lable" value="货币证卷类型" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="securitiestype" codeSetId="id_c_hbyjzq" value="#{pageViewBean.fields.securitiestype}" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>
			
			
			<!-- 第三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="issuanceyear" />
				<ui:param name="compBean1Lable" value="发行年度" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="issuanceyear" value="#{pageViewBean.fields.issuanceyear}" />
				</ui:define>
			</ui:decorate>
			
			
			
			<!-- 第四行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="issuanceunit" />
				<ui:param name="compBean1Lable" value="发行单位" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="issuanceunit" value="#{pageViewBean.fields.issuanceunit}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第五行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="periodnum" />
				<ui:param name="compBean2Id" value="parvalue" />
				<ui:param name="compBean1Lable" value="期组编号" />
				<ui:param name="compBean2Lable" value="面值(元)" />
				
				<ui:define name="compBean1Content">
					<h:inputText id="periodnum" value="#{pageViewBean.fields.periodnum}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText size="12" id="parvalue" value="#{pageViewBean.fields.parvalue}"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第六行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="amount" />
				<ui:param name="compBean1Lable" value="数量（张数)" />
				<ui:param name="compBean2Id" value="value" />
				<ui:param name="compBean2Lable" value="价值" />
				<ui:define name="compBean1Content">
				     <h:inputText size="6"  id="amount" value="#{pageViewBean.fields.amount}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText size="6"  id="value" value="#{pageViewBean.fields.value}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第 七行 -->
				<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="serialdoubleB" />
				<ui:param name="compBean1Lable" value="起始号码" />
				<ui:param name="compBean2Id" value="serialdoubleE" />
				<ui:param name="compBean2Lable" value="结束号码" />
				<ui:define name="compBean1Content">
				     <h:inputText size="6"  id="serialnumberb" value="#{pageViewBean.fields.serialdoubleB}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText size="6"  id="serialdoubleE" value="#{pageViewBean.fields.serialdoubleE}" />
				</ui:define>
			</ui:decorate>	
			<!-- 第 八行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
			 <ui:param name="compType" value="single" />
			 <ui:param name="compBean1Id" value="ifture" />
			 <ui:param name="compBean1Lable" value="真伪" />
			    <ui:define name="compBean1Content">
			        <h:selectOneRadio value="#{pageViewBean.fields.ifture}">
						<f:selectItem itemLabel="真" itemValue="1" />
						<f:selectItem itemLabel="伪" itemValue="0" />
					</h:selectOneRadio>
				</ui:define>
			</ui:decorate>	
			<!-- 第 九行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="annex" />
				<ui:param name="compBean1Lable" value="备注" />
				
				<ui:define name="compBean1Content">
				<h:inputTextarea
					 style="width:700px;height:100px;overflow:auto;"
					 id="annex" effectDuration="400"
					 value="#{pageViewBean.fields.annex}" />
				</ui:define>
			</ui:decorate>
		</ui:decorate>
		
	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			title="保存"
			actionListener="#{caseGoodsManager.save}"
			onclick="#{compId}_dialog.hide();"
			onstart="this.disabled=true"
			image="./img/icons/add.png" value="保存" style="margin:5px;"
			>
			<h:inputHidden id="#{compId}" value="hbyjzj" />
		</p:commandButton>		
		<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
	</ui:define>
</ui:composition>
